Editing window and control properties

QA Wizard Pro stores two values for each window and control property. The original value is saved when the window or control is added to the application repository. The expected value is what scripts expect to find during playback. These values usually match. If an application changes, you may need to modify expected values to make sure QA Wizard Pro can locate the window or control during playback.

1. Select a window or control in the Application Repository pane and choose File > Properties.

The Properties dialog box opens with the Search Method tab selected.

2. In the row for the property set as search criteria, select an Action to specify how QA Wizard Pro searches for the expected value.

You can specify to search for values that match the exact expected value, start with, end with, or contain the expected value, match a regular expression, or match a URL format.

3. Mouse over the Expected Value and click Edit.

The Edit Property dialog box opens.

Note: If Matches format is selected in the Action column, the Edit URL Formats dialog box opens. See Editing URL format rules in control properties.

4. Select a property Name if the current name is incorrect.

Note: The Name field is only enabled for properties manually added to user-added windows and controls. Default properties QA Wizard Pro saves with controls based on the type cannot be renamed.

5. Enter the expected value.

You can use repository variables in expected values so QA Wizard Pro can locate dynamic windows and controls when an application changes. For example, you can replace a URL with the URLROOT repository variable. To use a repository variable in the value, select it from the list and click Insert. The variable is replaced with the variable value used during playback. See Creating repository variables.

Tip: To enter a repository variable in the Expected value field, add percent signs to the beginning and end of the variable name. For example, %urlroot%.

6. Click OK to save the changes.

7. Click OK to close the Properties dialog box.